import { request } from '@/utils/request.js'

export function insert(data) {
  return request({
    url: `/recording/add`,
    method: 'post',
	query:true,
	data
  })
}

export function list(data) {
  return request({
    url: `/recording/list`,
    method: 'get',
	data
  })
}

export function one(data) {
  return request({
    url: `/recording/one`,
    method: 'get',
	data
  })
}

export function update(data) {
  return request({
    url: `/recording/update`,
    method: 'post',
	query:true,
	data
  })
}

export function del(data) {
    return request({
      url: `/recording/delete`,
      method: 'post',
	  query:true,
      data
    })
  }
